package com.ly1.aicosplay.repository;

import com.ly1.aicosplay.domain.po.Character;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * @author Ly
 */
@Mapper
public interface CharacterMapper {
    
    Character findById(@Param("id") String id);
    
    List<Character> findAll();
    
    List<Character> searchByName(@Param("keyword") String keyword);
    
    void insert(Character character);
    
    void update(Character character);
    
    void deleteById(@Param("id") String id);
}